package com.gnerv.pabu.test.org.auto;

import lombok.Data;

import java.util.LinkedHashMap;
import java.util.Map;

@Data
public class ShiroConfigProperties {

    private String[] path;

    public Map getPathMap() {
        Map<String, String> filterMap = new LinkedHashMap<>();
        String[] path = this.getPath();
        for (String s : path) {
            String[] split = s.split(";");
            filterMap.put(split[0], split[1]);
        }
        return filterMap;
    }

}
